#ifndef USERMANAGER_H
#define USERMANAGER_H
#include <User.h>
#include <QList>

class UserManager
{
	QList<User*> _users;

public:
	UserManager();

	void loadUserList();
	QList<User*> getUserList();
	bool addUser(User* user);
	User* getUserById(int id);

	void changeUserState(int id, User::UserState state);
};

#endif // USERMANAGER_H
